<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery.js"></script>
</head>
<body>
<p id="yyy"></p>
<script>
    var data = [{title:"a",id:"1",pid:""},{title:"",id:"11",pid:"1"}];

    console.log(data.map(function (data) {
        return data.title;
    }))
</script>
</body>
</html>